package com.hd.pzhwlxt.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hd.pzhwlxt.pojo.Goods;

import java.util.List;

/**
@create: 2022-09-22 11:15
@author: 怀念天空
@Description: 
*/

public interface GoodsService extends IService<Goods>{

    List<Goods> getAllGoodsAndPrice();

    Page<Goods> getAllGoodsAndPricePage(Integer pageNum, Integer pageSize);

    Goods getGoodsById(Integer id);

    boolean saveGoodsAndPrice(Goods goods);

    boolean updateGoods(Goods goods);
}
